import java.util.StringTokenizer;

import org.jivesoftware.openfire.group.Group;


public class Test {

	public static void main(String[] args) {
		String a = "it,啊";
		StringTokenizer tkn = new StringTokenizer(a, ",");
    	while (tkn.hasMoreTokens()) {
    		String groupName = tkn.nextToken();
    		System.out.println(groupName);
    	}
	}
}
